//
//  NSObject+FtFactoy.h
//  Feast
//
//  Created by 胡光健 on 2017/8/29.
//  Copyright © 2017年 mac. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSObject (FtFactoy)
-(UILabel *)configWithLabel:(NSString *)text textColor:(UIColor*)color textAlignment:(NSTextAlignment)textAlignment frame:(CGRect)frame font:(UIFont*)font;

-(UIButton *)configWithButton:(NSString *)title selecteTitle:(NSString*)selecteTitle titleColor:(UIColor *)color selecteTitleColor:(UIColor *)selecteTitleColor frame:(CGRect)frame backGroundImage:(UIImage*)backImage image:(UIImage*)image selecteImage:(UIImage*)selecteImage font:(UIFont*)font action:(SEL)action target:(id)target;

@end
